package com.uinnova.product.eam.model.cj.vo;

import com.binary.framework.bean.annotation.Comment;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class PlanChapterAnnotationVO implements Serializable {

    @Comment("主键id")
    private Long id;

    @Comment("批注描述")
    private String annotation;

    @Comment("批注创建人")
    private String creator;

    @Comment("批注创建人")
    private String creatorName;

    @Comment("所属方案")
    private String planName;

    @Comment("所属方案ID")
    private Long planId;

    @Comment("所属章节ID")
    private Long planChapterId;

    @Comment("所属内容块ID")
    private Long planChapterContextId;

    @Comment("所属章节/内容块")
    private String module;

    @Comment("最新批注回复")
    private String latestAnswer;

    @Comment("动态")
    private List<Answer> answers;

    @Comment("是否有回复权限")
    private Boolean answerAuth;

    @Data
    public static class Answer {
        private String creator;
        private String action;
        private String answer;
        private String createTime;
    }
}
